package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图文对象 picture_text
 * 
 * @author ruoyi
 * @date 2022-09-12
 */
public class PictureText extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String pictureSrc;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 发布内容 */
    @Excel(name = "发布内容")
    private String content;

    /** 点赞数 */
    private Long upCount;

    /** 收藏数量 */
    private Long collectCount;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long auditStatus;

    /** 浏览量 */
    private Long viewsCount;

    /** 举报数 */
    private Long reportCount;

    /** 地址 */
    @Excel(name = "地址")
    private String ipAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPictureSrc(String pictureSrc) 
    {
        this.pictureSrc = pictureSrc;
    }

    public String getPictureSrc() 
    {
        return pictureSrc;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUpCount(Long upCount) 
    {
        this.upCount = upCount;
    }

    public Long getUpCount() 
    {
        return upCount;
    }
    public void setCollectCount(Long collectCount) 
    {
        this.collectCount = collectCount;
    }

    public Long getCollectCount() 
    {
        return collectCount;
    }
    public void setAuditStatus(Long auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Long getAuditStatus() 
    {
        return auditStatus;
    }
    public void setViewsCount(Long viewsCount) 
    {
        this.viewsCount = viewsCount;
    }

    public Long getViewsCount() 
    {
        return viewsCount;
    }
    public void setReportCount(Long reportCount) 
    {
        this.reportCount = reportCount;
    }

    public Long getReportCount() 
    {
        return reportCount;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pictureSrc", getPictureSrc())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("upCount", getUpCount())
            .append("collectCount", getCollectCount())
            .append("auditStatus", getAuditStatus())
            .append("viewsCount", getViewsCount())
            .append("reportCount", getReportCount())
            .append("ipAddress", getIpAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
